package com.zzyl.helloworld.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 孙希斌
 * @CreateTime: 2025-05-20
 * @Description: HelloWorld
 * @Version: 1.0
 */
@RestController
@RequestMapping("/hello")
public class HelloController {
    @GetMapping("")
    public String hello()
    {
        System.out.println("hello world");
        return "我当然知道那不是我的月亮\n" +
                "\n" +
                "但有一刻\n" +
                "\n" +
                "月亮的确照在了我身上\n" +
                "\n" +
                "可生活不是电影\n" +
                "\n" +
                "我也缺少点运气\n" +
                "\n" +
                "我悄然触摸你\n" +
                "\n" +
                "却未曾料想\n" +
                "\n" +
                "你像蒲公英散开了\n" +
                "\n" +
                "到处啊\n" +
                "\n" +
                "都是你的模样";

    }
}